package fun.flyee.android.pengshan.widgets;

import android.widget.Toast;

import com.google.android.material.snackbar.Snackbar;

import fun.flyee.android.pengshan.AppContex;

public class Tips {

    public static void toast(String message) {
        Toast.makeText(AppContex.getContext(), message, Toast.LENGTH_SHORT).show();
    }

    public static void snack(String message) {
        Snackbar.make(AppContex.getContext().getCurrAct().getWindow().getDecorView(), message, Snackbar.LENGTH_SHORT).show();
    }

}
